package com.feng.study.controller;

import com.feng.study.service.ResultUpload;
import com.google.common.collect.Maps;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试lombok注解
 * @RequiredArgsConstructor(onConstructor =@_(@Autowired))
 */
@RestController
public class UploadController {
    @Autowired
    private ResultUpload resultUpload;


    @PostMapping("/uploadDemo")
    public void uploadDemo() throws Exception {
        this.resultUpload.test();
    }
}
